package cmj;

import org.junit.Test;

/**
 * 这是注释
 */
public class test {
    @Test
   public void test(){
       int num_G,num_B,num_Q;
       for (int i = 99; i <= 999; i++){
           num_G = i%10;
           num_B = i/10%10;
           num_Q = i/100%10;
           if (Math.pow(num_Q,3)+Math.pow(num_B,3)+Math.pow(num_G,3) == i){
               System.out.println(i);
           }
       }
   }

}
